<p class="modal-title">创建管理员用户</p>
<hr/>
<div class="modal-content">
  <div class="control-group">
    <label class="control-label"><h2 class="modal-input-label">手机号</h2></label>
    <div class="controls">
      <input type="text" id="mobile" placeholder="手机号" class="input-xlarge ng-pristine ng-valid modal-input" ng-model="user.mobile" ng-change="closeAllTooltip()"  data-toggle="popover" data-placement="right" data-content="手机号不正确, 请重新输入！" title="" data-original-title="请重新输入手机号">
    </div>
  </div>

  <div class="control-group">
    <label class="control-label"><h2 class="modal-input-label">密码</h2></label>
    <div class="controls">
      <input type="password" id="password" placeholder="密码" class="input-xlarge ng-pristine ng-valid modal-input" ng-model="user.password" ng-change="closeAllTooltip()"  data-toggle="popover" data-placement="right" data-content="请检查密码是否符合规则, 密码必须6-12位！" title="" data-original-title="请检查密码">
    </div>
  </div>

  <div class="control-group">
    <label class="control-label"><h2 class="modal-input-label">重复密码</h2></label>
    <div class="controls">
      <input type="password" id="re-password" placeholder="重复密码" class="input-xlarge ng-pristine ng-valid modal-input" ng-model="user.re_password" ng-change="closeAllTooltip()" data-toggle="popover" data-placement="right" data-content="请检查重复输入密码是否正确, 两次输入不一致！" title="" data-original-title="重复密码有误">
    </div>
  </div>

  <div class="control-group">
    <label class="control-label"><h2 class="modal-input-label">电子邮箱</h2></label>
    <div class="controls">
      <input type="text" id="email" placeholder="电子邮件" class="input-xlarge ng-pristine ng-valid modal-input" ng-model="user.email" ng-change="closeAllTooltip()"  data-toggle="popover" data-placement="right" data-content="电子邮件地址不正确, 请重新输入！" title="" data-original-title="请重新输入电子邮件">
    </div>
  </div>

  <div class="control-group">
    <!-- Text input-->
    <label class="control-label" for="input01">管理员类型</label>
    <div class="controls">
      <select class="input-large" ng-model="user.role">
        <option value="ADMIN">管理员</option>
        <option value="REVENUER">税务人员</option>
      </select>
      <!-- <input type="text" placeholder="" ng-model="formData.payment" class="input-large"> -->
      <p class="help-block"></p>
    </div>
  </div>

  <div class="btn-group modal-buttons">
    <div class="pull-right">
      <a class="btn btn-primary ok-button" ng-click="createUser()">创建</a>
      <a class="btn btn-primary cancel-button" ng-click="closeDialog()">取消</a>
    </div>
  </div>

</div>